package com.mrzhou.log.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.mrzhou.core.tool.utils.DateUtil;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Getter
@Setter
@TableName("cloud_log_usual")
public class LogUsual extends BaseLogEntity {

    @ApiModelProperty(value = "日志级别")
    private String logLevel;

    @ApiModelProperty(value = "日志业务id")
    private String logId;

    @ApiModelProperty(value = "日志数据")
    private StringBuilder logData;

    @ApiModelProperty(value = "执行时间")
    private Integer time;

    @ApiModelProperty(value = "接口返回的结果")
    private String resultObjects;

}
